var resource_ip = "http://192.168.0.154:8103";
var server_ip = "http://192.168.0.154:8103?s=/Api/";

var server = angular.module('Server',[]);

server.factory('IndexServer',['$http',

    function ($http) {
        var getResult = function () {
            return $http({
                method: 'GET',
                url: server_ip+'Charge/index',
            })
        }
        return {
            result:getResult
        };

    }
]);
